#ifndef OBSTACLE_H
#define OBSTACLE_H

#include "mapelement.h"
#include <QGraphicsItem>

class Obstacle : public MapElement
{
private:
    QPoint m_p;
    float m_r;

public:

    float getR();
    QPoint getS();
    Obstacle(QPoint p1, float r);
    bool isColliding(QPointF);

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
               QWidget *widget);

    ~Obstacle(){}
};

#endif // OBSTACLE_H
